Package com.bitmovin.player.api.offline

Contains API to enable offline playback.

Types

DrmLicenseInformation
Link copied to clipboard
data class DrmLicenseInformation(licenseDuration: Long, playbackDuration: Long)
Contains information about a DRM license.
OfflineConfig
Link copied to clipboard
data class OfflineConfig(maxSimultaneousDownloads: Int, maxSimultaneousSegmentDownloads: Int, requirements: Requirements, tweaksConfig: OfflineTweaksConfig) : Parcelable
Configures offline functionality.
OfflineContentManager
Link copied to clipboard
interface OfflineContentManager
Provides the means to download and store sources locally that can be played back with a Player without an active network connection.
OfflineContentManagerListener
Link copied to clipboard
interface OfflineContentManagerListener
OfflineErrorEvent
Link copied to clipboard
data class OfflineErrorEvent(code: OfflineErrorCode, message: String, data: Any?) : ErrorEvent
OfflineSourceConfig
Link copied to clipboard
open class OfflineSourceConfig(url: String, type: SourceType, drmId: ByteArray?, cacheDirectory: File, trackStateFile: File?, restrictToOffline: Boolean) : SourceConfig
Represents the offline version of a SourceConfig.
OfflineTweaksConfig
Link copied to clipboard
data class OfflineTweaksConfig(shouldAutomaticallyHandleDrmLicenses: Boolean) : Parcelable
This configuration is used as an incubator for experimental features.